package com.cloud.freeflow.api.mapper;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import com.cloud.freeflow.api.entity.BizType;
import com.cloud.freeflow.common.utils.BaseMapperHelper;

public interface BizTypeMapper extends BaseMapperHelper<BizType> {

	@Select("select max(biz_id) from biz_type where biz_id <= 1000")
	@ResultType(Long.class)
	Long getMaxBizId();
}